import {createRouter, createWebHashHistory} from 'vue-router'

const routes = [
    {
        path: '/jcdl',
        name: 'jcdl',
        component: () => import('../jcdl/CommonPage.vue'),
        children: [
            {
                path: "",
                component: () => import('../jcdl/ServiceEntrance.vue')
            }
        ]
    },
    {
        path:'/aiBusiness0',
        name:'aiBusiness0',
        component:()=>import('../jcdl/AiBusiness0.vue')
    },
    {
        path: '/aiBusiness1',
        name: 'aiBusiness1',
        component: () => import('../jcdl/AiBusiness1.vue')
    },
    {
        path: '/result',
        name: 'result',
        component: () => import('../jcdl/AppraiseQJ.vue')
    },
    {
        path: '/suggestion',
        name: 'suggestion',
        component: () => import('../jcdl/Suggestion.vue')
    },
    {
        path: '/noticelist',
        name: 'noticelist',
        component: () => import('../jcdl/NoticeList.vue')
    },
    {
        path: '/noticedetail',
        name: 'noticedetail',
        component: () => import('../jcdl/NoticeDetail.vue')
    },
    {
        path: '/leavemessage',
        name: 'leavemessage',
        component: () => import('../jcdl/LeaveMess.vue')
    },
    {
        path: '/mysuggestion',
        name: 'mysuggestion',
        component: () => import('../jcdl/MySuggestion.vue')
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router
